package com.luckku.boot.model.entity;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Builder;
import lombok.experimental.Accessors;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;

/**
 * 
 * @author  luckku
 * @date 2021-12-18 
 */

@Data
@Builder
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName ( "seckill" )
public class Seckill  implements Serializable {


	/**
	 * 店铺id（秒杀商品属于哪个店铺）
	 */
   	@TableField(value = "store_id" )
	private String storeId;

	/**
	 * 商品id
	 */
   	@TableField(value = "goods_id" )
	private String goodsId;

	/**
	 * 图片
	 */
   	@TableField(value = "img" )
	private String img;

	/**
	 * 原价
	 */
   	@TableField(value = "real_price" )
	private Long realPrice;

	/**
	 * 秒杀价
	 */
   	@TableField(value = "price" )
	private Long price;

	/**
	 * 商品名称
	 */
   	@TableField(value = "title" )
	private String title;

	/**
	 * 商品描述
	 */
   	@TableField(value = "description" )
	private String description;
}
